package org.springblade.modules.admin.dto.parts;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author ysq
 * @Date 2024/09/03
 * @Description 批量关联商品类目信息
 */
@Data
public class BatchRelationCategoryDTO {

	@NotNull(message = "配件id集合不能为空")
	@ApiModelProperty(value = "配件id集合")
	private List<Long> partsIds;

	@NotNull(message = "类目id不能为空")
	@ApiModelProperty(value = "类目id")
	private Long categoryId;

	@NotBlank(message = "类目信息不能为空")
	@ApiModelProperty(value = "类目信息")
	private String categoryInfo;
}
